﻿namespace Sidvall.FileSystemManager
{
	public static class ParameterManager
	{
		// Application Settings
		public const string VersionFilePathParameterName = "VersionFilePath";
		public const string ConfigFilePathParameterName = "ConfigFilePath";
		public const string CurrentVersionParameterName = "CurrentVersion";

		#region ConfigFilePath

		public static string ConfigFilePath
		{
			get
			{
				return Sidvall.SystemContext.Current.SettingsManager.GetSetting(ConfigFilePathParameterName).ToString();
			}
		}

		#endregion
		#region CurrentVersion

		public static string CurrentVersion
		{
			get
			{
				return Sidvall.SystemContext.Current.SettingsManager.GetSetting(CurrentVersionParameterName).ToString();
			}
		}

		#endregion
		#region VersionFilePath

		public static string VersionFilePath
		{
			get
			{
				return Sidvall.SystemContext.Current.SettingsManager.GetSetting(VersionFilePathParameterName).ToString();
			}
		}

		#endregion
	}
}
